//C09:UseDatabase.cpp
#include "Database.h"
int main(void)
{
    Database db("MyDatabse");
    db.open();
    // use other db functions...
    db.close();
}
/* Output
connected to MyDatabase
MyDatabase closed
*/